unity how to reorder a list

56

unity how to reorder a list -

texts.Sort((a, b) => a.transform.GetSiblingIndex().CompareTo(b.transform.GetSiblingIndex()));

Comments

Submit
0 Comments